package com.heima.feign.clients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "leadnews-user",path = "/api/v1/user")
public interface UserClient {
    @PostMapping("/{userId}/{followId}")
    public Boolean isFollow(@PathVariable("userId") Integer userId, @PathVariable("followId") Integer followId);
}
